package com.um.jdy.common.shop.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 甘天伟
 * @since 2022/4/24
 * 版权所有 广州优匠科技有限公司
 */
public class OrderEnum {

    /**
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
    @Getter
    @AllArgsConstructor
    public enum Type {

        // 类型：Normal-普通订单｜Group-拼团订单 | Prize-抽奖订单

        Normal("普通订单"),
        Group("拼团订单"),
        Prize("抽奖订单"),
;

        private String value;


    }

    /**
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
    @Getter
    @AllArgsConstructor
    public enum Status {

        // 订单状态：UnPay待支付|UnSend待发货|UnReceive待收货|UnComment待评价|UnGroup待成团|Return已退款|Cancelled已取消|Completed已完成

        UnPay("待付款"),
        UnSend("待发货"),
        UnReceive("待收货"),
        UnComment("待评价"),
        UnGroup("待成团"),
        Return("已退款"),
        Cancelled("已取消"),
        Completed("已完成");


        private String value;

    }

    /**
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
    @Getter
    @AllArgsConstructor
    public enum GoodsType {

        // 类型：Normal普通商品｜Coupons卡券赠品｜FullReduce满减赠品

        Normal("普通订单"),
        Coupons("卡券赠品"),
        FullReduce("满减赠品");


        private String value;

    }

    /**
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
    @Getter
    @AllArgsConstructor
    public enum GroupStatus {

        // 拼团状态：Unopen-未开团 | Opened-已开团 | Invalid-已失效

        Unopen("未开团"),
        Opened("已开团"),
        Invalid("已失效");


        private String value;

    }




}
